import request from '@/utils/request'

// 查询银行卡对账数据
export function getBankRecList(query) {
  return request({
    url: '/hotel/order/registerBankRec/getBankRecList',
    method: 'get',
    params: query
  })
}

// 根据id查询银行对账数据
export function getBankRecById(query) {
  return request({
    url: '/hotel/order/registerBankRec/getBankRecById',
    method: 'get',
    params: query
  })
}

// 编辑银行卡对账数据
export function postEditBankRec(data) {
  return request({
    url: '/hotel/order/registerBankRec/postEditBankRec',
    method: 'post',
    data: data
  })
}

// 新增银行卡对账数据
export function postAddBankRec(data) {
  return request({
    url: '/hotel/order/registerBankRec/postAddBankRec',
    method: 'post',
    data: data
  })
}

// 取消确认对账
export function postCancelSeal(data) {
  return request({
    url: '/hotel/order/registerBankRec/postCancelSeal',
    method: 'post',
    data: data
  })
}

// 确认对账
export function postConfirmSeal(data) {
  return request({
    url: '/hotel/order/registerBankRec/postConfirmSeal',
    method: 'post',
    data: data
  })
}